<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>123</title>
</head>

<body>



<h1>登录成功
{% if username %}
        {{  username }}
    {% else %}
        {{ user }}
{% endif %}
</h1>

{%  if perms.firstapp.index %}
    im index
{% endif %}

{%  if perms.firstapp.statueCheck %}
    im statueCheck
{% endif %}

<a href="/firstapp/logout/"><input type="button" value="登出" class="btn btn-success"></a>
</body>
</html>